home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg - A Text function that finds the beginning
- position of a text string
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg(
- WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ssssttttaaaarrrrtttt,
- cccchhhhaaaarrrr ****ssssttttrrrriiiinnnngggg,
- XXXXmmmmTTTTeeeexxxxttttDDDDiiiirrrreeeeccccttttiiiioooonnnn ddddiiiirrrreeeeccccttttiiiioooonnnn,
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ****ppppoooossssiiiittttiiiioooonnnn);
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg locates the beginning position of a
- specified text string. This routine searches forward or
- backward for the first occurrence of the string starting
- from the given start position. If it finds a match, the
- function returns the position of the first character of the
- string in _p_o_s_i_t_i_o_n. If the match string begins at the
- current position, this routine returns the current position.
-
- _w_i_d_g_e_t Specifies the Text widget ID.
-
- _s_t_a_r_t Specifies the character position from which the
- search proceeds. This is an integer number of
- characters from the beginning of the text buffer.
- The first character position is 0 (zero).
-
- _s_t_r_i_n_g Specifies the search string.
-
- _d_i_r_e_c_t_i_o_n Indicates the search direction. It is relative to
- the primary direction of the text. The possible
- values are
-
- XXXXmmmmTTTTEEEEXXXXTTTT____FFFFOOOORRRRWWWWAAAARRRRDDDD
- The search proceeds toward the end of
- the text buffer.
-
- XXXXmmmmTTTTEEEEXXXXTTTT____BBBBAAAACCCCKKKKWWWWAAAARRRRDDDD
- The search proceeds toward the beginning
- of the text buffer.
-
- _p_o_s_i_t_i_o_n Specifies the pointer in which the first character
- position of the string match is returned. This is
- an integer number of characters from the beginning
- of the buffer. The first character position is 0
- (zero). If the function returns False, this value
- is undefined.
-
-
-
- Page 1 (printed 4/6/01)
-
-
-
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX))))
-
-
-
- For a complete definition of Text and its associated
- resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
-
- RRRREEEETTTTUUUURRRRNNNN
- Returns True if a string match is found; otherwise, returns
- False.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- XXXXmmmmTTTTeeeexxxxtttt(3) and XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnnggggWWWWccccssss(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/6/01)
-
-
-
-